.class public Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;
.super Lcom/esfile/screen/recorder/base/BaseActivity;
.source "VideoEditPreviewActivity.java"

# interfaces
.implements Lcom/esfile/screen/recorder/player/h$c;


# static fields
.field private static j:Les/cd; = null

.field private static k:[Ljava/lang/String; = null

.field private static l:I = 0x1

.field private static m:I

.field private static n:Ljava/lang/String;

.field private static o:I


# instance fields
.field private a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

.field private b:Landroid/view/View;

.field private c:Z

.field private d:I

.field private e:Z

.field private f:Z

.field private g:Lcom/esfile/screen/recorder/videos/edit/l;

.field private h:Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

.field private final i:Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method public constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->e:Z

    .line 3
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->f:Z

    .line 4
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;

    invoke-direct {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;-><init>()V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->i:Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;

    return-void
.end method

.method private A()V
    .locals 6

    .line 1
    sget-object v2, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->j:Les/cd;

    iget-object v1, v2, Les/cd;->a:Ljava/lang/String;

    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->g:Lcom/esfile/screen/recorder/videos/edit/l;

    iget-object v4, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->h:Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    new-instance v5, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity$h;

    invoke-direct {v5, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity$h;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;)V

    move-object v0, p0

    invoke-static/range {v0 .. v5}, Lcom/esfile/screen/recorder/videos/edit/i;->a(Landroid/content/Context;Ljava/lang/String;Les/cd;Lcom/esfile/screen/recorder/videos/edit/l;Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;Lcom/esfile/screen/recorder/videos/edit/i$b;)V

    return-void
.end method

.method private B()Ljava/lang/String;
    .locals 2

    .line 1
    sget-object v0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->j:Les/cd;

    if-eqz v0, :cond_6

    iget-object v0, v0, Les/cd;->i:Les/cd$d;

    if-nez v0, :cond_0

    goto :goto_0

    .line 2
    :cond_0
    iget v0, v0, Les/cd$d;->b:I

    const/4 v1, 0x2

    if-eq v0, v1, :cond_5

    const/4 v1, 0x3

    if-eq v0, v1, :cond_4

    const/4 v1, 0x4

    if-eq v0, v1, :cond_3

    const/4 v1, 0x5

    if-eq v0, v1, :cond_2

    const/4 v1, 0x6

    if-eq v0, v1, :cond_1

    const-string v0, "free"

    return-object v0

    :cond_1
    const-string v0, "9-16"

    return-object v0

    :cond_2
    const-string v0, "16-9"

    return-object v0

    :cond_3
    const-string v0, "3-4"

    return-object v0

    :cond_4
    const-string v0, "4-3"

    return-object v0

    :cond_5
    const-string v0, "1-1"

    return-object v0

    :cond_6
    :goto_0
    const-string v0, ""

    return-object v0
.end method

.method private C()V
    .locals 2

    .line 1
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->h:Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    .line 2
    sget v1, Les/z4;->durec_share_saving:I

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;->setProgressText(I)V

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->h:Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity$i;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity$i;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;->setOnCancelClickListener(Landroid/view/View$OnClickListener;)V

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->h:Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;->a()V

    .line 5
    sget v0, Les/x4;->root:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->h:Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    return-void
.end method

.method private D()V
    .locals 2

    .line 1
    sget v0, Les/x4;->durec_video_edit_preview_player:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    .line 2
    sget-object v1, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->k:[Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a([Ljava/lang/String;)V

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    sget v1, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->o:I

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->setTimeRenderFlags(I)V

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    sget-object v1, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->j:Les/cd;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->setVideoEditPlayerInfo(Les/cd;)V

    .line 5
    sget v0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->l:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_0

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;->setSaveButtonVisibility(I)V

    goto :goto_0

    :cond_0
    const/4 v1, 0x1

    if-ne v0, v1, :cond_1

    .line 7
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    sget v1, Les/z4;->durec_common_ok:I

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;->setSaveButtonText(I)V

    goto :goto_0

    :cond_1
    if-nez v0, :cond_2

    .line 8
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    sget v1, Les/z4;->durec_common_save:I

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;->setSaveButtonText(I)V

    .line 9
    :cond_2
    :goto_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity$c;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity$c;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;->setOnSaveClickListener(Landroid/view/View$OnClickListener;)V

    .line 10
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity$d;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity$d;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(Lcom/esfile/screen/recorder/player/exo/a$i;)V

    .line 11
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity$e;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity$e;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;->setOnBackClickListener(Landroid/view/View$OnClickListener;)V

    .line 12
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity$f;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity$f;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(Lcom/esfile/screen/recorder/player/exo/a$g;)V

    .line 13
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity$g;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity$g;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(Lcom/esfile/screen/recorder/player/exo/a$d;)V

    .line 14
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    invoke-virtual {v0, p0}, Lcom/esfile/screen/recorder/player/h;->setOnControllerVisibilityChangeListener(Lcom/esfile/screen/recorder/player/h$c;)V

    .line 15
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/h;->d()V

    return-void
.end method

.method private E()Z
    .locals 2

    .line 1
    sget-object v0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->k:[Ljava/lang/String;

    if-eqz v0, :cond_0

    .line 2
    invoke-static {v0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;

    move-result-object v0

    const-string v1, "BackgroundRender"

    .line 3
    invoke-interface {v0, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    return v0

    :cond_0
    const/4 v0, 0x0

    return v0
.end method

.method private F()V
    .locals 3

    .line 1
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string v1, "save_completed"

    const/4 v2, 0x1

    .line 2
    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const/4 v1, -0x1

    .line 3
    invoke-virtual {p0, v1, v0}, Landroid/app/Activity;->setResult(ILandroid/content/Intent;)V

    return-void
.end method

.method private G()V
    .locals 2

    .line 1
    sget v0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->l:I

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity$a;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity$a;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;)V

    invoke-static {v0}, Les/xc;->a(Ljava/lang/Runnable;)V

    goto :goto_0

    :cond_0
    const/4 v1, 0x1

    if-eq v0, v1, :cond_1

    const/4 v1, 0x2

    if-ne v0, v1, :cond_2

    .line 3
    :cond_1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    sget-object v1, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->j:Les/cd;

    iget-object v1, v1, Les/cd;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->setVideoPath(Ljava/lang/String;)V

    :cond_2
    :goto_0
    return-void
.end method

.method private H()V
    .locals 1

    .line 1
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity$b;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity$b;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;)V

    invoke-static {v0}, Les/xc;->b(Ljava/lang/Runnable;)V

    .line 2
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->finish()V

    return-void
.end method

.method private I()V
    .locals 3

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->B()Ljava/lang/String;

    move-result-object v0

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->B()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 3
    sget-object v1, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->n:Ljava/lang/String;

    const-string v2, "videoEdit"

    invoke-static {v1, v2}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 4
    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/k;->d(Ljava/lang/String;)V

    :cond_0
    return-void
.end method

.method private J()V
    .locals 6

    .line 1
    invoke-virtual {p0}, Landroid/app/Activity;->isDestroyed()Z

    move-result v0

    if-eqz v0, :cond_0

    return-void

    :cond_0
    const v0, 0x1040011

    .line 2
    new-instance v1, Lcom/esfile/screen/recorder/ui/a;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/ui/a;-><init>(Landroid/content/Context;)V

    const/4 v2, 0x0

    .line 3
    invoke-virtual {v1, v2}, Lcom/esfile/screen/recorder/ui/a;->b(Z)V

    .line 4
    invoke-virtual {v1, v2}, Lcom/esfile/screen/recorder/ui/a;->a(Z)V

    .line 5
    invoke-virtual {p0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v3

    .line 6
    invoke-static {v3}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v3

    sget v4, Les/y4;->durec_emoji_dialog_layout:I

    const/4 v5, 0x0

    .line 7
    invoke-virtual {v3, v4, v5}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v3

    .line 8
    sget v4, Les/x4;->emoji_icon:I

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/ImageView;

    .line 9
    sget v5, Les/w4;->durec_system_lacked_dialog_warn:I

    invoke-virtual {v4, v5}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 10
    sget v4, Les/x4;->emoji_title:I

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    const/16 v5, 0x8

    invoke-virtual {v4, v5}, Landroid/view/View;->setVisibility(I)V

    .line 11
    sget v4, Les/x4;->emoji_message:I

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/TextView;

    .line 12
    invoke-virtual {v4, v0}, Landroid/widget/TextView;->setText(I)V

    .line 13
    invoke-virtual {v1, v3}, Lcom/esfile/screen/recorder/ui/a;->a(Landroid/view/View;)V

    const v0, 0x1040010

    .line 14
    new-instance v3, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity$j;

    invoke-direct {v3, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity$j;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;)V

    invoke-virtual {v1, v0, v3}, Lcom/esfile/screen/recorder/ui/a;->b(ILandroid/content/DialogInterface$OnClickListener;)V

    .line 15
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity$k;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity$k;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;)V

    invoke-virtual {v1, v0}, Lcom/esfile/screen/recorder/ui/a;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    .line 16
    invoke-virtual {v1, v2}, Landroid/app/Dialog;->setCanceledOnTouchOutside(Z)V

    .line 17
    invoke-virtual {v1}, Lcom/esfile/screen/recorder/ui/a;->show()V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;)Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->i:Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;

    return-object p0
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;Lcom/esfile/screen/recorder/videos/edit/l;)Lcom/esfile/screen/recorder/videos/edit/l;
    .locals 0

    .line 2
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->g:Lcom/esfile/screen/recorder/videos/edit/l;

    return-object p1
.end method

.method private a(II)V
    .locals 0

    if-lt p1, p2, :cond_0

    if-eqz p1, :cond_0

    if-eqz p2, :cond_0

    const/4 p1, 0x0

    .line 14
    invoke-virtual {p0, p1}, Landroid/app/Activity;->setRequestedOrientation(I)V

    goto :goto_0

    :cond_0
    const/4 p1, 0x1

    .line 15
    invoke-virtual {p0, p1}, Landroid/app/Activity;->setRequestedOrientation(I)V

    :goto_0
    return-void
.end method

.method private static a(Landroid/app/Activity;Les/cd;[Ljava/lang/String;IIILjava/lang/String;I)V
    .locals 0

    .line 6
    sput-object p1, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->j:Les/cd;

    .line 7
    sput-object p2, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->k:[Ljava/lang/String;

    .line 8
    sput p3, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->l:I

    .line 9
    sput p4, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->m:I

    .line 10
    sput-object p6, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->n:Ljava/lang/String;

    .line 11
    sput p7, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->o:I

    .line 12
    new-instance p1, Landroid/content/Intent;

    const-class p2, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;

    invoke-direct {p1, p0, p2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 13
    invoke-virtual {p0, p1, p5}, Landroid/app/Activity;->startActivityForResult(Landroid/content/Intent;I)V

    return-void
.end method

.method public static a(Landroid/app/Activity;Les/cd;[Ljava/lang/String;IILjava/lang/String;I)V
    .locals 8

    const/4 v5, 0x2

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move v3, p3

    move v4, p4

    move-object v6, p5

    move v7, p6

    .line 5
    invoke-static/range {v0 .. v7}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a(Landroid/app/Activity;Les/cd;[Ljava/lang/String;IIILjava/lang/String;I)V

    return-void
.end method

.method public static a(Landroid/app/Activity;Les/cd;[Ljava/lang/String;ILjava/lang/String;I)V
    .locals 8

    const/4 v4, 0x0

    const/4 v5, 0x1

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move v3, p3

    move-object v6, p4

    move v7, p5

    .line 4
    invoke-static/range {v0 .. v7}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a(Landroid/app/Activity;Les/cd;[Ljava/lang/String;IIILjava/lang/String;I)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;Z)Z
    .locals 0

    .line 3
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->f:Z

    return p1
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->J()V

    return-void
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;Z)Z
    .locals 0

    .line 2
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->c:Z

    return p1
.end method

.method static synthetic c(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;)Lcom/esfile/screen/recorder/videos/edit/l;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->g:Lcom/esfile/screen/recorder/videos/edit/l;

    return-object p0
.end method

.method static synthetic d(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->H()V

    return-void
.end method

.method static synthetic e(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->F()V

    return-void
.end method

.method static synthetic f(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;)Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    return-object p0
.end method

.method private f(Z)V
    .locals 1

    if-nez p1, :cond_0

    const/16 p1, 0xf07

    goto :goto_0

    :cond_0
    const/16 p1, 0x700

    .line 2
    :goto_0
    invoke-virtual {p0}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/view/View;->setSystemUiVisibility(I)V

    return-void
.end method

.method static synthetic g(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->A()V

    return-void
.end method

.method static synthetic h(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->I()V

    return-void
.end method

.method static synthetic i(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->f:Z

    return p0
.end method

.method static synthetic j(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;)Landroid/view/View;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->b:Landroid/view/View;

    return-object p0
.end method

.method static synthetic v()I
    .locals 1

    .line 1
    sget v0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->l:I

    return v0
.end method

.method static synthetic w()Ljava/lang/String;
    .locals 1

    .line 1
    sget-object v0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->n:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic x()Les/cd;
    .locals 1

    .line 1
    sget-object v0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->j:Les/cd;

    return-object v0
.end method

.method static synthetic y()I
    .locals 1

    .line 1
    sget v0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->m:I

    return v0
.end method

.method private z()V
    .locals 6

    .line 1
    sget-object v0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->j:Les/cd;

    iget-object v0, v0, Les/cd;->a:Ljava/lang/String;

    invoke-static {v0}, Lcom/esfile/screen/recorder/utils/i;->d(Ljava/lang/String;)Lcom/esfile/screen/recorder/media/util/y;

    move-result-object v0

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->E()Z

    move-result v1

    if-eqz v1, :cond_0

    sget-object v1, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->j:Les/cd;

    iget-object v1, v1, Les/cd;->g:Les/cd$c;

    if-eqz v1, :cond_0

    iget-object v1, v1, Les/cd$c;->d:Landroid/graphics/Bitmap;

    if-eqz v1, :cond_0

    .line 3
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/util/y;->a()I

    move-result v1

    mul-int/lit8 v1, v1, 0x10

    div-int/lit8 v1, v1, 0x9

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/media/util/y;->b(I)V

    goto :goto_4

    :cond_0
    const/4 v1, 0x0

    .line 4
    sget-object v2, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->j:Les/cd;

    iget-object v2, v2, Les/cd;->h:Les/cd$n;

    if-eqz v2, :cond_1

    .line 5
    iget v1, v2, Les/cd$n;->a:I

    :cond_1
    const/16 v2, 0xb4

    if-eqz v1, :cond_3

    if-ne v1, v2, :cond_2

    goto :goto_0

    .line 6
    :cond_2
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/util/y;->a()I

    move-result v3

    goto :goto_1

    :cond_3
    :goto_0
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/util/y;->b()I

    move-result v3

    :goto_1
    if-eqz v1, :cond_5

    if-ne v1, v2, :cond_4

    goto :goto_2

    .line 7
    :cond_4
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/util/y;->b()I

    move-result v1

    goto :goto_3

    :cond_5
    :goto_2
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/util/y;->a()I

    move-result v1

    .line 8
    :goto_3
    sget-object v2, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->j:Les/cd;

    iget-object v2, v2, Les/cd;->i:Les/cd$d;

    if-eqz v2, :cond_6

    .line 9
    iget-object v4, v2, Les/cd$d;->a:Landroid/graphics/RectF;

    if-eqz v4, :cond_6

    .line 10
    iget v5, v4, Landroid/graphics/RectF;->right:F

    iget v4, v4, Landroid/graphics/RectF;->left:F

    sub-float/2addr v5, v4

    int-to-float v3, v3

    mul-float v5, v5, v3

    float-to-int v3, v5

    invoke-virtual {v0, v3}, Lcom/esfile/screen/recorder/media/util/y;->b(I)V

    .line 11
    iget-object v2, v2, Les/cd$d;->a:Landroid/graphics/RectF;

    iget v3, v2, Landroid/graphics/RectF;->bottom:F

    iget v2, v2, Landroid/graphics/RectF;->top:F

    sub-float/2addr v3, v2

    int-to-float v1, v1

    mul-float v3, v3, v1

    float-to-int v1, v3

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/media/util/y;->a(I)V

    goto :goto_4

    .line 12
    :cond_6
    invoke-virtual {v0, v3}, Lcom/esfile/screen/recorder/media/util/y;->b(I)V

    .line 13
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/media/util/y;->a(I)V

    .line 14
    :goto_4
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/util/y;->b()I

    move-result v1

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/util/y;->a()I

    move-result v0

    invoke-direct {p0, v1, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a(II)V

    return-void
.end method


# virtual methods
.method public d(I)V
    .locals 1

    if-nez p1, :cond_0

    const/4 p1, 0x1

    .line 2
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->f(Z)V

    goto :goto_0

    :cond_0
    const/4 v0, 0x4

    if-ne p1, v0, :cond_1

    const/4 p1, 0x0

    .line 3
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->f(Z)V

    :cond_1
    :goto_0
    return-void
.end method

.method public finish()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->p()V

    .line 3
    :cond_0
    invoke-super {p0}, Landroid/app/Activity;->finish()V

    return-void
.end method

.method public onBackPressed()V
    .locals 3

    .line 1
    sget v0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->l:I

    if-nez v0, :cond_2

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->h:Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;->b()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->h:Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;->c()V

    return-void

    .line 4
    :cond_0
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const/4 v1, 0x0

    .line 5
    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    if-eqz v2, :cond_1

    .line 6
    invoke-virtual {v2}, Lcom/esfile/screen/recorder/videos/edit/player/c;->getAllSectionProgress()I

    move-result v1

    :cond_1
    const-string v2, "position"

    .line 7
    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const/4 v1, -0x1

    .line 8
    invoke-virtual {p0, v1, v0}, Landroid/app/Activity;->setResult(ILandroid/content/Intent;)V

    .line 9
    :cond_2
    invoke-super {p0}, Landroidx/activity/ComponentActivity;->onBackPressed()V

    return-void
.end method

.method public onConfigurationChanged(Landroid/content/res/Configuration;)V
    .locals 0

    .line 1
    invoke-super {p0, p1}, Landroidx/appcompat/app/AppCompatActivity;->onConfigurationChanged(Landroid/content/res/Configuration;)V

    .line 2
    invoke-virtual {p0}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object p1

    invoke-virtual {p1}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object p1

    invoke-virtual {p1}, Landroid/view/View;->invalidate()V

    .line 3
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    if-eqz p1, :cond_0

    .line 4
    invoke-virtual {p1}, Lcom/esfile/screen/recorder/player/h;->d()V

    :cond_0
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    .line 1
    invoke-super {p0, p1}, Lcom/esfile/screen/recorder/base/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    const/4 p1, 0x1

    .line 2
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->f(Z)V

    .line 3
    invoke-virtual {p0}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object p1

    const/16 v0, 0x400

    invoke-virtual {p1, v0}, Landroid/view/Window;->addFlags(I)V

    .line 4
    invoke-virtual {p0}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object p1

    const/16 v0, 0x80

    invoke-virtual {p1, v0}, Landroid/view/Window;->addFlags(I)V

    .line 5
    sget-object p1, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->j:Les/cd;

    if-eqz p1, :cond_2

    iget-object p1, p1, Les/cd;->a:Ljava/lang/String;

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p1

    if-eqz p1, :cond_0

    goto :goto_0

    .line 6
    :cond_0
    sget p1, Les/y4;->durec_video_edit_preivew:I

    invoke-virtual {p0, p1}, Landroidx/appcompat/app/AppCompatActivity;->setContentView(I)V

    .line 7
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->z()V

    .line 8
    sget p1, Les/x4;->preview_video_loading:I

    invoke-virtual {p0, p1}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object p1

    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->b:Landroid/view/View;

    const/4 v0, 0x0

    .line 9
    invoke-virtual {p1, v0}, Landroid/view/View;->setVisibility(I)V

    .line 10
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->D()V

    .line 11
    sget p1, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->l:I

    if-nez p1, :cond_1

    .line 12
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->C()V

    .line 13
    :cond_1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->G()V

    return-void

    .line 14
    :cond_2
    :goto_0
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->finish()V

    return-void
.end method

.method protected onDestroy()V
    .locals 1

    .line 1
    invoke-super {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;->onDestroy()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->p()V

    .line 4
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->i:Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;->a()V

    return-void
.end method

.method protected onPause()V
    .locals 2

    .line 1
    invoke-super {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;->onPause()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    if-eqz v0, :cond_0

    iget-boolean v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->c:Z

    if-eqz v1, :cond_0

    .line 3
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->getAllSectionProgress()I

    move-result v0

    iput v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->d:I

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->c()Z

    move-result v0

    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->e:Z

    .line 5
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->i:Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;->a()V

    return-void
.end method

.method protected onStart()V
    .locals 2

    .line 1
    invoke-super {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;->onStart()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    if-eqz v0, :cond_1

    const/4 v1, 0x0

    .line 3
    iput-boolean v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->c:Z

    .line 4
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->n()V

    .line 5
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->d:I

    if-lez v0, :cond_1

    .line 6
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->e:Z

    if-eqz v0, :cond_0

    .line 7
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->o()V

    .line 8
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->d:I

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->d(I)V

    :cond_1
    return-void
.end method

.method protected onStop()V
    .locals 1

    .line 1
    invoke-super {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;->onStop()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a:Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewPlayer;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->p()V

    :cond_0
    return-void
.end method

.method public u()Ljava/lang/String;
    .locals 1

    const-string v0, "VideoEditPreviewActivity"

    return-object v0
.end method
